#ifndef UDPWORKER_H
#define UDPWORKER_H

#include <QObject>
#include <QByteArray>

class UdpWorker : public QObject {
    Q_OBJECT

public:
    explicit UdpWorker(QObject *parent = nullptr);

public slots:
    void onNewData(const QByteArray &data);

signals:
    void dataProcessed(qint64 size, qint64 time);
};

#endif // UDPWORKER_H
